package com.zky.gulimall.seckill.feign;

import com.zky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description 商品服务
 * @Author 张开源
 * @Date 2022/12/26 16:59
 * @Version 1.0
 **/
@FeignClient("gulimall-product")
public interface ProductFeignService {
    /**
     * 获取商品信息
     */
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
